package ModelImplementation

import "time"

type WeeklySchedule struct {
}

func (w WeeklySchedule) IsPaydate(payDate time.Time)bool{ 
	return payDate.Weekday()== time.Friday
}

func (w WeeklySchedule) GetPayPeriodStartDate(payPeriodEndDate time.Time) time.Time{
	return payPeriodEndDate.AddDate(0,0,-6)
}